home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / quake / register < prev    next >
Internet Message Format  |  1996-11-17  |  3KB

  1. From jepler@craie.inetnebr.com  Thu Jul 25 12:32:30 1996
  2. From: Jeff Epler <jepler@inetnebr.com>
  3. Subject: How to run Linux Quake with regged levels
  4. To: jeff@lek.net (Jeff Garvas)
  5. Date: Thu, 25 Jul 1996 11:29:09 -0500 (CDT)
  6.  
  7. I've just written a document on how to run Linux quake with the registered
  8. levels.  I wonder if you would like to include it among your linux quake
  9. stuff.
  10.  
  11. I'll enclose it below.
  12.  
  13. Jeff
  14. (synger on linuxnet)
  15. -- 
  16. \/ Jeff Epler jepler@{inetnebr.com|cse.unl.edu|herbie.unl.edu} (0|1(01*0)*1)+
  17.  
  18. RUNNING REGISTERED QUAKE IN LINUX
  19.  
  20. Here's how I ran registered quake under Linux.  I suspect not everything
  21. will work, but I played through about half of e2m1, and it seemed okay.
  22.  
  23. Here's what you need:
  24.  
  25. . Working Linux Shareware Quake 0.91 setup (the tar says 0.91, the
  26.    game says 0.92 when you run it) from ftp.lek.net:/pub/linux/quake/
  27. . Registered DOS Quake -- 1-800-IDGAMES
  28. . qeu from
  29.   ftp://ftp.cdrom.com/pub/idgames2/utils/bsp_pak_tools/qeu03.zip
  30. . Python
  31.  
  32. First, put this script in bspver.py <<EOF
  33. #!/usr/local/bin/python
  34. from sys import argv
  35. for i in argv[1:]:
  36.     try:
  37.         f=open(i, "r+")
  38.         c=ord(f.read(1))
  39.         d=ord(f.read(1))
  40.         print "%s was version %d" % (i,d*256+c)
  41.         f.seek(0)
  42.         f.write(chr(28))
  43.         f.write(chr(0))
  44.         f.close()
  45.         print "Converted %s to version %d" % (i, 28)
  46.     except IOError, what:
  47.         print "Failed to convert %s: %s" % (i, what)
  48. EOF
  49.  
  50. Unpak registered's id1/pak1.pak into the id1 directory of Linux
  51. shareware quake.  For me, the command was
  52.  /usr/src/qeu/unpak -d /usr/src/quake/id1 /dosc/games/quake/id1/pak1.pak
  53.  
  54. Then, change the version of the bsp files:
  55.  python bspver.py /usr/src/quake/id1/maps/*.bsp
  56.  
  57. Finally, run xquake or xf86quake.  You'll need to adjust the gamma
  58. setting on e2-e4 maps, since the levels appear overly dark compared to
  59. e1 or e2-e4 in DOS.  I suspect this is related to the "overbrighting"
  60. introduced in 1.00.
  61.  
  62. And, the step after finally is to send mail to johnc@idsoftware.com
  63. telling him how important having a real version of registered linux
  64. quake is to you.  Dave Taylor, now at crack.com, is willing to do the
  65. work, as he did with qtest and the shareware, but wants Carmack to
  66. give him credit for his work.  I don't know the whole story, but I
  67. think that John Carmack is the one who needs gentle pressure to get
  68. Linux Quake moving again.
  69.  
  70. Please let me know if this works for you, if my instructions can be
  71. clearer, etc.  You can reach me as jepler@inetnebr.com.
  72. -------
  73. Other Linux Quake tips:
  74.  
  75. If you can't get sound (quake crashes without -nosound), try setting
  76. these environment variables:
  77.  QUAKE_SOUND_CHANNELS=1
  78.  QUAKE_SOUND_SAMPLEBITS=8
  79.  QUAKE_SOUND_SPEED=11000
  80. In some recent versions of the kernel, stereo sound is incorrectly
  81. detected and causes an error in Quake.
  82.